From 0b3c063e4cb37a44088a347605af577154c1f4a7 Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 29 Aug 2010 19:45:52 +0000 Subject: [PATCH] Fix crash in subrip on start of file. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4021 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/subrip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/subrip.c b/gpsbabel/subrip.c index c347c398c..0958ccba3 100644 --- a/gpsbabel/subrip.c +++ b/gpsbabel/subrip.c @@ -157,7 +157,7 @@ subrip_trkpt_pr(const waypoint *waypointp) * way of solving this should be trivial to you :-) */ { - time_offset = sync_time(prevwpp->creation_time, opt_videotime); + time_offset = sync_time(waypointp->creation_time, opt_videotime); } if (prevwpp) -- 2.30.2